{% extends 'web/layout/manage.html' %}
{% load static %}

{% block css %}
    <style>
        .panel-body a {
            border-left: 5px solid yellowgreen;
        }
    </style>

{% endblock %}

{% block content %}
    <div class="col-md-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">配置信息</h3>
            </div>
            <div class="panel-body">
                <a href="">删除项目</a>
            </div>
        </div>
    </div>
    <div class="col-md-8">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">系统配置</h3>
            </div>
            <div class="panel-body">
                <form method="post">
                    {% csrf_token %}
                    {% for field in project_delete_form %}
                        <div class="form-group">
                            <label for="{{ field.id_for_label }}">{{ field.label }}</label>
                            {{ field }}
                            <div class="error-msg"> {{ field.errors.0 }} </div>
                        </div>
                    {% endfor %}
                    <button type="submit" class="btn btn-danger">删 除</button>
                </form>
            </div>
        </div>
    </div>
{% endblock %}
